package com.threeti.jiayusms.domain.service.communicationtime;

import com.threeti.jiayusms.domain.model.CommunicationTime;
import com.threeti.jiayusms.framework.util.DynaSearchCriteria;
import com.threeti.jiayusms.framework.util.PagedListHandler;

public interface CommunicationTimeQueryService {

	public CommunicationTime findCommunicationTimeBy(Long timeId);
	
	/** 根据通信时间编号取得特定的通信时间 */
	CommunicationTime findCommunicationTimeBy(String timeId);
	
	/** 分页取得所有通信时间(无条件查询) */
	 PagedListHandler<CommunicationTime> findAllTimeTemplatesByPage(int currentPageIndex, int startingIndex);
	 
	 /** 根据条件(模糊)查询取得通信时间 */
	  PagedListHandler<CommunicationTime> findTimeTemplatesByPage(DynaSearchCriteria dynaSearchCriteria, int currentPageIndex, int startingIndex);
}
